$def with (form, search_res)

<h1>Search App</h1>

<form action="" method="post">
    $:form.render()
</form>

<ul>
$for res in search_res:
    <li>
    <h3>App: </h3>
    Name: $res['trackName']
    </li>
</ul>